﻿Imports System
Imports System.ComponentModel

Namespace System.Workflow.ComponentModel.Serialization
    Friend Class CompositeActivityTypeDescriptorProvider
        Inherits TypeDescriptionProvider
        ' Methods
        Public Sub New()
            MyBase.New(TypeDescriptor.GetProvider(GetType(CompositeActivity)))
        End Sub

        Public Overrides Function GetTypeDescriptor(ByVal objectType As Type, ByVal instance As Object) As ICustomTypeDescriptor
            Return New CompositeActivityTypeDescriptor(MyBase.GetTypeDescriptor(objectType, instance))
        End Function

    End Class
End Namespace

